<template>
  <div class="search-wrapper" @click="router.push('/search')">
    <var-icon name="magnify" class="icon" />
    <span class="polecenia">请输入</span>
  </div>
</template>
<script setup>
import { useRouter } from 'vue-router';

const router = useRouter();
</script>
<style scoped lang="less">
.search-wrapper {
  width: 100%;
  height: 2rem;
  display: flex;
  align-items: center;
  border-radius: 1.1rem;
  background-color: #fff;
  box-sizing: border-box;
  padding: 0 0.5rem;
  margin-bottom: 0.8rem;
  .icon {
    font-size: 1.3rem;
    color: #9f9f9f;
  }
  .polecenia {
    font-size: 0.9rem;
    color: #9f9f9f;
  }
}
</style>
